package day05;

import java.util.ArrayList;
import java.util.HashSet;
import java.util.Iterator;

public class Demo3 {

	public static void main(String[] args) {
		
		HashSet<String> hashSet = new HashSet<>();
		hashSet.add("nihao");
		hashSet.add("3");
		hashSet.add("aaa");
		Iterator<String> iterator = hashSet.iterator();
		while (iterator.hasNext()) {
//			boolean string =  iterator.hasNext();
			
		}
		System.out.println(hashSet);
	}
}
